home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 63 6f 6d 70 75 |Path: ne|ws.compu|
|00000010| 74 65 6b 2e 6e 65 74 21 | 6e 65 77 73 0a 46 72 6f |tek.net!|news.Fro|
|00000020| 6d 3a 20 47 72 65 67 20 | 45 61 74 6f 6e 20 3c 67 |m: Greg |Eaton <g|
|00000030| 65 61 74 6f 6e 40 63 6f | 6d 70 75 74 65 6b 2e 6e |eaton@co|mputek.n|
|00000040| 65 74 3e 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |et>.News|groups: |
|00000050| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 2b 2b 0a 53 75 |comp.lan|g.c++.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 63 69 6e 20 77 |bject: R|e: cin w|
|00000070| 69 74 68 6f 75 74 20 70 | 61 75 73 65 0a 44 61 74 |ithout p|ause.Dat|
|00000080| 65 3a 20 54 68 75 2c 20 | 30 31 20 46 65 62 20 31 |e: Thu, |01 Feb 1|
|00000090| 39 39 36 20 32 33 3a 33 | 37 3a 33 38 20 2d 30 36 |996 23:3|7:38 -06|
|000000a0| 30 30 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |00.Organ|ization:|
|000000b0| 20 48 61 6c 66 2d 45 61 | 74 6f 6e 20 45 6e 74 65 | Half-Ea|ton Ente|
|000000c0| 72 70 72 69 73 65 73 0a | 4d 65 73 73 61 67 65 2d |rprises.|Message-|
|000000d0| 49 44 3a 20 3c 33 31 31 | 31 41 33 32 32 2e 33 38 |ID: <311|1A322.38|
|000000e0| 35 37 40 63 6f 6d 70 75 | 74 65 6b 2e 6e 65 74 3e |57@compu|tek.net>|
|000000f0| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 34 65 |.Referen|ces: <4e|
|00000100| 6d 6c 74 32 24 68 37 6f | 40 6a 75 70 69 74 65 72 |mlt2$h7o|@jupiter|
|00000110| 2e 70 6c 61 6e 65 74 2e | 6e 65 74 3e 0a 52 65 70 |.planet.|net>.Rep|
|00000120| 6c 79 2d 54 6f 3a 20 67 | 65 61 74 6f 6e 40 63 6f |ly-To: g|eaton@co|
|00000130| 6d 70 75 74 65 6b 2e 6e | 65 74 0a 4e 4e 54 50 2d |mputek.n|et.NNTP-|
|00000140| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 64 65 |Posting-|Host: de|
|00000150| 6e 33 37 32 2e 63 6f 6d | 70 75 74 65 6b 2e 6e 65 |n372.com|putek.ne|
|00000160| 74 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |t.Mime-V|ersion: |
|00000170| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|00000180| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|00000190| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|000001a0| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|000001b0| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|000001c0| 2d 4d 61 69 6c 65 72 3a | 20 4d 6f 7a 69 6c 6c 61 |-Mailer:| Mozilla|
|000001d0| 20 32 2e 30 62 35 20 28 | 4d 61 63 69 6e 74 6f 73 | 2.0b5 (|Macintos|
|000001e0| 68 3b 20 49 3b 20 36 38 | 4b 29 0a 54 6f 3a 20 43 |h; I; 68|K).To: C|
|000001f0| 68 72 69 73 20 4b 65 6d | 70 20 3c 63 68 72 69 73 |hris Kem|p <chris|
|00000200| 6b 40 70 61 6c 61 64 6e | 2e 63 6f 6d 3e 0a 0a 43 |k@paladn|.com>..C|
|00000210| 68 72 69 73 20 4b 65 6d | 70 20 77 72 6f 74 65 3a |hris Kem|p wrote:|
|00000220| 0a 3e 20 0a 3e 20 48 6f | 77 20 63 61 6e 20 49 20 |.> .> Ho|w can I |
|00000230| 64 6f 20 74 68 69 73 3a | 0a 3e 20 0a 3e 20 49 20 |do this:|.> .> I |
|00000240| 77 61 6e 74 20 74 6f 20 | 6c 6f 6f 70 20 63 6f 6e |want to |loop con|
|00000250| 74 69 6e 75 6f 75 73 6c | 79 0a 3e 20 20 20 20 20 |tinuousl|y.> |
|00000260| 63 68 65 63 6b 69 6e 67 | 20 74 68 65 20 69 6e 70 |checking| the inp|
|00000270| 75 74 20 62 75 66 66 65 | 72 0a 3e 20 20 20 20 20 |ut buffe|r.> |
|00000280| 69 66 20 74 68 65 72 65 | 27 73 20 73 6f 6d 74 68 |if there|'s somth|
|00000290| 69 6e 67 20 69 6e 20 74 | 68 65 20 62 75 66 66 65 |ing in t|he buffe|
|000002a0| 72 20 65 6e 64 69 6e 67 | 20 77 69 74 68 20 61 20 |r ending| with a |
|000002b0| 2f 6e 20 7b 0a 3e 20 20 | 20 20 20 20 20 20 20 72 |/n {.> | r|
|000002c0| 65 61 64 20 69 74 20 61 | 6e 64 20 70 72 6f 63 65 |ead it a|nd proce|
|000002d0| 73 73 0a 3e 20 20 20 20 | 20 7d 0a 3e 20 20 20 20 |ss.> | }.> |
|000002e0| 20 65 6c 73 65 7b 0a 3e | 20 20 20 20 20 20 20 20 | else{.>| |
|000002f0| 20 70 75 74 20 77 68 61 | 74 65 76 65 72 20 69 73 | put wha|tever is|
|00000300| 20 74 68 65 72 65 20 62 | 61 63 6b 20 61 6e 64 0a | there b|ack and.|
|00000310| 3e 20 20 20 20 20 20 20 | 20 20 64 6f 20 73 6f 6d |> | do som|
|00000320| 65 20 6f 74 68 65 72 20 | 73 74 75 66 66 0a 3e 20 |e other |stuff.> |
|00000330| 20 20 20 20 7d 0a 3e 20 | 7d 0a 0a 54 68 69 73 20 | }.> |}..This |
|00000340| 63 61 6e 20 62 65 20 61 | 63 63 6f 6d 70 6c 69 73 |can be a|ccomplis|
|00000350| 68 65 64 20 75 73 69 6e | 67 20 74 68 72 65 61 64 |hed usin|g thread|
|00000360| 73 2e 20 20 4c 65 74 20 | 6f 6e 65 20 74 68 72 65 |s. Let |one thre|
|00000370| 61 64 20 62 6c 6f 63 6b | 20 6f 6e 0a 63 69 6e 20 |ad block| on.cin |
|00000380| 77 68 69 6c 65 20 61 6e | 6f 74 68 65 72 20 74 68 |while an|other th|
|00000390| 72 65 61 64 20 63 6f 6e | 74 69 6e 75 65 73 20 74 |read con|tinues t|
|000003a0| 6f 20 22 64 6f 20 73 6f | 6d 65 20 6f 74 68 65 72 |o "do so|me other|
|000003b0| 20 73 74 75 66 66 22 2e | 20 20 57 68 65 6e 0a 74 | stuff".| When.t|
|000003c0| 68 65 20 75 73 65 72 20 | 70 72 65 73 73 65 73 20 |he user |presses |
|000003d0| 72 65 74 75 72 6e 20 28 | 5c 6e 29 2c 20 74 68 65 |return (|\n), the|
|000003e0| 20 63 69 6e 20 6d 6f 6e | 69 74 6f 72 69 6e 67 20 | cin mon|itoring |
|000003f0| 74 68 72 65 61 64 20 22 | 77 61 6b 65 73 20 75 70 |thread "|wakes up|
|00000400| 22 0a 61 6e 64 20 70 72 | 6f 63 65 73 73 65 73 20 |".and pr|ocesses |
|00000410| 74 68 65 20 69 6e 70 75 | 74 20 73 74 72 65 61 6d |the inpu|t stream|
|00000420| 2e 0a 0a 2d 2d 20 0a 20 | 20 20 20 20 20 20 20 20 |...-- . | |
|00000430| 20 20 20 20 20 20 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -|--------|
|00000440| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000450| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 20 20 |--------|-----. |
|00000460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 22 53 | | "S|
|00000470| 6f 20 6c 6f 6e 67 20 61 | 6e 64 20 74 68 61 6e 6b |o long a|nd thank|
|00000480| 73 20 66 6f 72 20 61 6c | 6c 20 74 68 65 20 66 69 |s for al|l the fi|
|00000490| 73 68 21 22 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |sh!".. | |
|000004a0| 20 20 20 20 20 20 47 72 | 65 67 20 45 61 74 6f 6e | Gr|eg Eaton|
|000004b0| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+